﻿
using System;

//Nhibernate Code Generation Template 1.0
//author:MythXin
//blog:www.cnblogs.com/MythXin
//Entity Code Generation Template
namespace Cms.Model
{
    /*
     <asp:ListItem Value="-1">仅节点</asp:ListItem>
                                <asp:ListItem Value="0">系统固定表单</asp:ListItem>
                                <asp:ListItem Value="1">系统自定义表单</asp:ListItem>
                                <asp:ListItem Value="2">用户自定义表单</asp:ListItem>
                                <asp:ListItem Value="3" Selected="True">WPT列表</asp:ListItem>
     */
    public enum Sys_Tabpagetype
    {
        OnlyNode = -1,//仅节点
        SysSolidForm = 0,//系统固定表单
        SysSelfForm = 1, // 系统自定义表单      
        UserSelfForm = 2,//用户自定义表单
        WptList = 3//WPT列表
    }
    //标签页表
    public class Sys_Tabpage
    {
        /// <summary>
        /// 主键
        /// </summary>
        public virtual string Id { get; set; }
        /// <summary>
        /// 标签编号
        /// </summary>
        public virtual string Alias { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public virtual string Title { get; set; }
        /// <summary>
        /// 布局
        /// </summary>
        public virtual string Layout { get; set; }
        /// <summary>
        /// 上级编号
        /// </summary>
        public virtual string Parentid { get; set; }
        /// <summary>
        /// 是否系统默认
        /// </summary>
        public virtual bool? Is_System { get; set; }
        /// <summary>
        /// 标签类型
        /// </summary>
        public virtual Sys_Tabpagetype Tab_Type { get; set; }
        public virtual string Icon { get; set; }
        public virtual int Level { get; set; }
        /// <summary>
        /// 已发布
        /// </summary>
        public virtual bool IsPublish { get; set; }
        /// <summary>
        /// 是否需要登录
        /// </summary>
        public virtual bool MustLogin { get; set; }
    }
}
